/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projekt;

/**
 * Superclass that contains methods and variables for all objects in the level.
 */
public class LevelObject {

    /**
     * The x position.
     */
    private int x;
    /**
     * The y position.
     */
    private int y;
    /**
     * If can be walked over.
     */
    private boolean isWalkable = false;
    /**
     * Symbol to display.
     */
    private String symbol;
    /**
     * X position in the array.
     */
    private int arrayX;
    /**
     * Y position in the array.
     */
    private int arrayY;

    /**
     * Returns walk ability.
     *
     * @return walk ability.
     */
    public final boolean isIsWalkable() {
        return isWalkable;
    }

    /**
     * Sets walk ability.
     *
     * @param isWalkableX walk ability.
     */
    public final void setIsWalkable(final boolean isWalkableX) {
        this.isWalkable = isWalkableX;
    }

    /**
     * Gets the symbol.
     *
     * @return Symbol
     */
    public final String getSymbol() {
        return symbol;
    }

    /**
     * Sets the symbol.
     *
     * @param symbolX Symbol.
     */
    public final void setSymbol(final String symbolX) {
        this.symbol = symbolX;
    }

    /**
     * Sets the x value.
     *
     * @param x1 x value.
     */
    public final void setX(final int x1) {
        this.x = x1;
    }

    /**
     * gets the x value.
     *
     * @return x value.
     */
    public final int getX() {
        return x;
    }

    /**
     * set the y position of the object.
     *
     * @param y1 y position.
     */
    public final void setY(final int y1) {
        this.y = y1;
    }

    /**
     * get the y position of the object.
     *
     * @return y y position.
     */
    public final int getY() {
        return y;
    }

    /**
     * @return the arrayX
     */
    public final int getArrayX() {
        return arrayX;
    }

    /**
     * @param arrayXX the arrayX to set
     */
    public final void setArrayX(final int arrayXX) {
        this.arrayX = arrayXX;
    }

    /**
     * @return the arrayY
     */
    public final int getArrayY() {
        return arrayY;
    }

    /**
     * @param arrayYY the arrayY to set
     */
    public final void setArrayY(final int arrayYY) {
        this.arrayY = arrayYY;
    }
}
